package org.cladwell.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.cladwell.domain.User;
import org.cladwell.domain.Userinfo;

@Mapper
public interface UserDao {

    User getUserByname(String phone);

    Integer adduser(User user);

    Integer adduserinfo(Userinfo userinfo);

    User getUserbyid(Long userid);

    Userinfo getUserinfo(Long userid);

    void updataUserinfo(Userinfo userinfo);
}
